package com.cai.xiaobai.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 答案的内容表
 * </p>
 *
 * @author author
 * @since 2024-05-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("answer_option_content")
@Tag(name="AnswerOptionContent对象", description="答案的内容表")
public class AnswerOptionContent implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Schema(description = "答案表")
    private Long answerId;

    @Schema(description = "选项表id，多选的话用逗号连接")
    private String optionId;

    @Schema(description = "填写或者选项选择的内容")
    private String optionContent;

    @Schema(description = "问题表id")
    private Long questionId;


}
